﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using ThiagoSoftware.Dados;

namespace GerTestes.Data
{
    public class DBNiveis
    {
        #region Get Níveis
        public DataTable getNiveis()
        {
            string SQL = @"SELECT tb.ID_NIVEL,
                                  tb.NIVEL
                            FROM   TB_NIVEL tb
                            ORDER BY
                                   tb.NIVEL";
            DataAccess db = new DataAccess(SQL);
            return db.GetDataTable();
        }
        #endregion
    }
}
